class BootStrap {

     def init = { servletContext ->
         new Diary(author:"Your Name", title:"Your Diary List",text:"Text", date:new Date()).save()
     }
     def destroy = {
     }
} 